@import "../mixin";
.lists-nav{
  display:flex;
  border-radius:0px 0px 20px 20px;
  background:#fff;
  white-space: nowrap;
  overflow-x: auto;
  section{
    position:relative;
    padding: 0 20px;
    flex:auto;
    height:100px;
    line-height:90px;
    font-size:26px;
    text-align:center;
    &.cur{
      font-size:28px;
      font-weight:bold;
      i{
        position: absolute;
        left: 50%;
        margin-left: -28px;
        bottom: 24px;
        width: 56px;
        height: 4px;
        font-size: 0;
        overflow: hidden;
        @include gradient(right,rgba(242,11,34,1),rgba(242,11,34,0.1));
        // background-color: #ff6e42;
      }
    }
  }
}
.lists-container {
  .order-wrapper{
    padding:20px 24px;
    background: #f7f7f7;
  }
  .order-box {
    font-family: PingFang SC;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    padding: 0 24px;
    border-radius: 20px;
    background: #fff;

    .dhs-virtual-icon {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 2;
      width: 68px;
      height: 68px;
      background: url("https://img.wifenxiao.com/h5-wfx/images/order/dhs_virtual_icon.png") no-repeat;
      background-size: cover;
    }

    .order-list-info {
      position: relative;
      padding: 20px 7px 20px 0;
      border-bottom: 2px solid #EDEDED;
      background: #fff;
      // height: 120px;
      line-height: 34px;
      font-size: 24px;

      .icon_linkto {
        color: #9c9c9c;
      }
      // 游戏订单来源
      .order-origin{
        font-size:0;
        line-height:72px;
        .name{
          font-size:26px;
          color:#999;
        }
        .origin{
          font-size:26px;
          font-weight:bold;
        }
      }
    }

    .status {
      display: block;
      height: 72px;
      line-height: 72px;
      font-size: 26px;
      color: #F30C23;
      text-align: right;

      &.red {
        color: #f00;
      }

      &.completed {
        position:absolute;
        right:0;
        top:0;
        width: 100px;
        height:80px;
        background: url("https://img.wifenxiao.com/h5-wfx/images/order/order_completed.png") no-repeat;
        background-size: 100%;
      }

      &.orderClose {
        position:absolute;
        right:0;
        top:0;
        width: 100px;
        height:80px;
        background: url("https://img.wifenxiao.com/h5-wfx/images/order/order_close.png") no-repeat;
        background-size: 100%;
      }
    }
  }

  .order-goods {
    .goods-li {
      display: flex;
      flex: 1;
      padding: 30px 0;
      border-bottom: 1px solid #f0f0f0;

      &:last-child {
        padding-bottom:20px;
        border-bottom: 0;
      }
    }

    .order-goods-img {
      overflow: hidden;
      position: relative;
      width: 160px;
      height: 160px;
      border-radius: 10px;

      a {
        position: relative;
        display: inline-block;
        width: 100%;
        height: 100%;

        img {
          display:inline;
          width: 100%;
        }

        .activity-shade {
          position: absolute;
          left:0;
          bottom: 0;
          display: inline-block;
          padding: 0 4px;
          width: 100%;
          height: 40px;
          line-height: 40px;
          background: rgba(255, 68, 69, 0.8);
          color: #fff;
          text-align: center;
        }
      }
    }

    .order-goods-infor {
      display:flex;
      flex: 1;
      position: relative;
      height: 160px;
      margin-left: 16px;
      .left{
        position:relative;
        flex:1;
      }
      .right{
        width:70px;
        margin-top:60px;
      }
    }

    .goods-title {
      @include lineClamp(24px, 1.4, 2);
      .fontZiy{
        @include alignTop;
        font-size: 20px;
        line-height: 24px;
        padding: 5px 12px;
        background: #ddd;
        margin-right: 10px;
        border-radius: 24px;
        color:#fff;
        @include gradient(right,#FF2A40,#FE3C70);
      }
    }

    .goods-props {
      // overflow: hidden;
      // text-overflow:ellipsis;
      // white-space: nowrap;
      @include lineClamp(24px, 1.4, 1);
      height: 36px;
      line-height: 36px;
      margin-top: 8px;
      color: #666;
    }
    .price {
      position:absolute;
      bottom:0;
      left:0;

      em {
        font-size: 32px;
      }
    }

    .num {
      color: #333;
    }

    /* .goods-price-num {
      position: absolute;
      bottom: 0;
      width: 100%;
      line-height: 32px;

      
    } */
  }

  //游戏订单列表
  .order-no-wrap{
    margin-bottom:20px;
    padding-bottom:28px;
    border-bottom:2px solid #F9F9F9;
    p{
      padding-top:20px;
      line-height:34px;
    }
  }

  .order-pay {
    text-align: right;
    line-height: 68px;
    // border-top: 2px solid #f0f0f0;

    .payment-box {
      // padding: 0 20px;
      // border-bottom: 1px solid #f0f0f0;
    }

    .final-payment-time {
      color: #999;
    }

    .good-price-box {
      height: 60px;
      line-height: 60px;
      // padding: 0 20px;
      // border-bottom: 1px solid #f0f0f0;
      font-size: 24px;

      .good-total-price {
        i {
          font-size: 20px;
        }
        em {
          display: inline-block;
        }
      }

      .good-discount-price {
        color: #F30C23;

        em {
          // font-size: 28px;
          display: inline-block;
        }
      }
    }

    .presell {
      // padding: 0 20px;
      height: 60px;
      line-height: 60px;
      // margin-bottom: 10px;
      color: #999;
    }

    .good-more-btn {
      padding: 6px 0 30px;
      text-align: right;

      .btn {
        display: inline-block;
        height: 56px;
        // line-height: 54px;
        // border-radius: 50px;
        margin-left:6px;
        padding: 0 30px;
        font-size: 26px;
        color: #333;
        border-color:#999;
        background: #fff;
        /* &:first-child{
          margin-left:0;
        } */

        &.orange-btn {
          border-color:#F20B22;
          color: #F20B22;
        }

        &.white-btn {
          border-color:#F20B22;
          color: #F20B22;
          /* border-color:#F20B22;
          color: #fff;
          background: #F20B22; */
        }
      }
    }
  }
}

//再次购买弹窗
.repurchase_box {
  background:transparent;
  text-align: center;
  position: fixed;
  left: 50%;
  top: 50%;
  width:600px;
  transform: translate3d(-50%,-50%,0);

  .repurchase_con {
    padding-top:50px;
    border-radius: 24px;
    background: #fff
  }

  .repurchase_con_title {
    line-height: 1;
    padding: 26px 0 60px;
    font-size: 32px;
  }

  .repurchase_img {
    width: 224px;
    margin:0 auto;

    img {
      display: block;
      width: 100%;
    }
  }

  .btn_box {
    border-top:2px solid #EDEDED;
    &>a {
      width: 50%;
      height:96px;
      line-height:96px;
      font-size: 28px;
      font-weight:bold;
    }

    .btn_buy {
      width: calc(50% - 2px);
      border-right:2px solid #EDEDED;
    }

    .btn_stop {
      color:#F20B22;
    }
  }

  .btn_close {
    width: 50px;
    height: 50px;
    margin: 90px auto 0;
    border-radius: 50%;
    // background: url(/PublicMob/images/vote/close.png) no-repeat;
    background: url("https://img.wifenxiao.com/h5-wfx/images/dialog_close.png") no-repeat;
    background-size: 100%;
  }
}
// 输入支付密码弹窗
.password {
  width: 80%;
  height: 60px;
  display: block;
  margin: 40px auto;
  outline: none;
  border: none;
  border-radius: 5px;
  background-color: #f3f2f2;
}
//付款弹窗
.pay-box{
  width:100%;
  height:100%;
  background:#f7f7f7;
}

// 定制  上海透缇
.diy-active-box{
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 70%;
  margin: auto;
  -ms-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  transform: translate(0, -50%);
  background:transparent;
  .active_content{
    position:relative;
    a{
      position: absolute;
      text-decoration: none;
      left: 50%;
      transform: translateX(-50%);
      bottom: 76px;
      display: inline-block;
      width: 288px;
      height: 72px;
      border-radius: 72px;
      text-align: center;
      line-height: 72px;
      font-size: 28px;
      color: #b14500;
      color: #fff;
      @include gradient(right, #ff6e00, #ff5000);
    }
  }
  .btn_close {
    width: 50px;
    height: 50px;
    margin: 40px auto 0;
    border-radius: 50%;
    // background: url(/PublicMob/images/vote/close.png) no-repeat;
    background: url("https://img.wifenxiao.com/h5-wfx/images/dialog_close.png") no-repeat;
    background-size: 100%;
  }
}
